home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
shadobox.arc
/
TCREADME.DOC
< prev
next >
Wrap
Text File
|
1988-11-19
|
4KB
|
95 lines
SHADOW BOXES
the Donohue&Co. Windowing package
Installation into TurboC
ver 0.0 11/19/87
Copyright (c) 1987 John G. Donohue
Donohue&Co. Computer Services
PO Box 255
Hannibal, NY 13074
(315) 564-6213
--------------------- o o o ---------------------
How to use "SHADOW BOXES", the Donohue&Co. Windowing package, with Turbo C
(1) set up your TurboC according to instructions in the TurboC manuals.
Normally, they are as follows:
C:\TURBOC
C:\TURBOC\INCLUDE
C:\TURBOC\LIB
(2) Make a new directory:
C:\TURBOC\SHADOBOX
(3) Copy (or un-arc, if you have SHADOBOX.ARC) the files into that new
directory.
Try the WDEMO command, just to see what the demo looks like.
It is strictly a color demo.
The WATCHME demo is a continuous-running demo Donohue&Co. uses at
trade shows. It cannot be stopped except by rebooting.
MENUDEMO is a brief demonstration of how you can construct Lotus-style,
bar, pull-down, or shadowed menus, if you send for the Menu package.
(4) Move TCCWDEMO.BAT into \TURBOC.
(5) If you're not using Drive C:, then:
(a) Edit TCCWDEMO.BAT to refer to the drive you used, not C:.
(b) When you first invoke TCCWDEMO, go to the Project and Options menus,
and change all references to drive C: to whatever drive you are
using. Then S)ave the new WDEMO.TC from the Options/Environment menu.
Directory of \TURBOC
TCCWDEMO BAT Batch file to compile WDEMO.C
Directory of \TURBOC\SHADOBOX
TCREADME DOC This file
SHADOBOX DOC About 14 pages of documentation of functions, etc.
WDEMO EXE Windowing demo for which source is given
MENUDEMO EXE Minimal menu demo
WATCHME EXE Continuous Donohue&Co. trade show demo using windows
WDEMO TC Turbo-C configuration file
WDEMO PRJ Turbo-C "Project-make" file
WDEMO C Source code of demo
Modify and recompile this file to test the package.
DEFINES H Standard defines
WDEF H Window macro defines (colors, borders, etc.),
and structures definitions
WERR H Error code names
WINDOW OBJ The four
WERR OBJ object files (TC suffix means TurboC version)
CATOSCTC OBJ linked into your application
WHWTC OBJ by WDEMO.PRJ
You may want to begin by listing the following files (in order of helpfulness):
TCREADME DOC (This file)
WDEMO C
WDEF H
SHADOBOX DOC
WDEMO PRJ
DEFINES H
WERR H
The Project file WDEMO.PRJ looks like this:
shadobox\wdemo (shadobox\defines.h shadobox\wdef.h)
shadobox\window.obj
shadobox\werr.obj
shadobox\catosctc.obj
shadobox\whwtc.obj
The batch file TCCWDEMO.BAT should be in \TURBOC, and compiles WDEMO.C:
c:
cd \turboc
tc /cshadobox\wdemo.tc shadobox\wdemo.c
To compile, make \TURBOC your current directory, and invoke the compiler:
c: (or whatever drive you're using)
cd \turboc
tccwdemo
(Note that the configuration file WDEMO.TC sets up paths, etc.)
Then hit Alt-C to compile, or Alt-R to compile and Run.
As the demo runs, look at the listing of WDEMO.C, making reference to
DEFINES.H and WDEF.H, to see how certain borders, shadows, etc., were
achieved.